#!/usr/bin/env python
import datetime


class MaximumDrawDown:
    """
    最大回撤
    """

    def __init__(self, maximum_drawdown: float, date1: datetime, date2: datetime, account_name: str, total_assets1: float, total_assets2: float):
        super().__init__()
        self.maximum_drawdown = maximum_drawdown
        self.date1 = date1
        self.date2 = date2
        self.account_name = account_name
        self.total_assets1 = total_assets1
        self.total_assets2 = total_assets2